;;; sen-orgmode.el - configuration of the Org-mode
;; Author Evgeniy Sharapov

;;
;; Custmoization of the Org-Mode
;;

(setq org-directory "~/org")
(setq org-default-notes-file "~/org/.notes")
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)

(setq org-remember-templates
      ;; TimeTracking template
      '((?t "* Work on %^{Date for time entry:}t %?\n\tBug: %^{Bug #}\n\tDescription: %^{Description:}\n\tDuration: %^{Duration:}\n" "~/org/TimeTracking.org")
        ))

;; (setq org-remember-templates
;;       '((?t "* TODO %?\n  %i\n  %a" "~/TODO.org")
;;         (?j "* %U %?\n\n  %i\n  %a" "~/JOURNAL.org")
;;         (?i "* %^{Title}\n  %i\n  %a" "~/JOURNAL.org" "New Ideas")))


(provide 'init-orgmode)

